<div style="overflow-x:auto;">
<table class="list" style="width:1650px;">
  <tr>
    <th width="2%" nowrap>序号</th>
    <th width="6%">合同号</th>
    <th width="5%">卡号</th>
    <th width="10%">会籍类型</th>
    <th width="4.5%">指导价</th>
    <th width="4.5%" nowrap>实际售价</th>
    <th width="4.5%" nowrap>付款金额</th>
    <th width="4%" nowrap>定金金额</th>
    <th width="4%" nowrap>转入金额</th>
    <th width="4%">总次数</th>
    <th width="4%" nowrap>剩余次数</th>
    <th width="4%" nowrap>剩余价值</th>
    <th width="4%" nowrap>销售类别</th>
    <th width="4%" nowrap>会籍起日</th>
    <th width="4%" nowrap>会籍迄日</th>
    <th width="4%" nowrap>赠后日期</th>
    <th width="3%">状态</th>
    <th width="4%" nowrap>终止日期</th>
    <th width="4%" nowrap>终止原因</th>
    <th width="5%" nowrap>销售门店</th>
    <th width="4%" nowrap>销售日期</th>
    <th width="8%">销售员</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td>${c.contractCode!}</td>
    <td>${c.cardCode!}</td>
    <td>${c.cardType!}-<@value type="cardType" key="${c.cardType!}"/></td>
    <td class="money">${c.cardPrice!}</td>
    <td class="money">${c.factPrice!}</td>
    <td class="money">${c.payAmount!}</td>
    <td class="money">${c.earnestAmount!}</td>
    <td class="money">${c.inAmount!}</td>
    <td><#if c.totalCount?? && c.totalCount gt 0>${c.totalCount!}<#else>-</#if></td>
    <td><#if c.totalCount?? && c.totalCount gt 0>${c.restCount!}<#else>-</#if></td>
    <td><#if c.outAmount??>${c.outAmount!}<#else>-</#if></td>
    <td><@value type="memberSaleType" key="${c.saleType!}"/></td>
    <td>${c.beginTime!}</td>
    <td>${c.endTime!}</td>
    <td>${c.newEndTime!}</td>
    <td><#if c.effectiveDate??>终止<#else><#if c.status=1>正常<#elseif c.status=2>待审批<#elseif c.status=3>结束</#if></#if></td>
    <td>${c.effectiveDate!}</td>
    <td><@value type="memberEffectiveType" key="${c.effectiveType!}"/></td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.saleDate!}</td>
    <td>${c.salesCode!}-<@value type="salesName" key="${c.salesCode!}"/><#if c.salesCode2?? && c.salesCode2?length!=0><br>${c.salesCode2!}-<@value type="salesName" key="${c.salesCode2!}"/></#if></td>
  </tr>
  </#list></#if>
</table>
</div>